<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>店铺角色添加页  - ${web.name}${web.additionalTitle!}</title>
<link href="${root}/u/css/main.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/memeber.css" type="text/css" rel="stylesheet" />
<script src="${sysResRoot}/jquery.js" type="text/javascript"></script>
<script src="${base}/thirdparty/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script type="text/javascript">

function disablePerms() {
	if($("input[name=super]:checked").val()=="true") {
		$(".perm-container input[type=checkbox]").attr("disabled","disabeld");
	} else {
		$(".perm-container input[type=checkbox]").removeAttr("disabled");
	}
}
$(function() {
	$("#jvForm").validate();
	$("input[name=super]").bind("click",function(){
		disablePerms();
	});
});
</script>
</head>
<body>
[#include "../include/店铺页头顶栏.html"/]
<div class="w1168">
	[#include "店铺中心_导航.html"/]
	<div class="user_right" style="height:1150px;">
		<div class="user_title2">店铺角色添加</div>  
		<div class="clear10"></div>  
	    <form class="ropt">
		<input type="submit" value="返回列表" onclick="this.form.action='list.jspx?pageNo=${pageNo}';" class="menu_ok2"/>
     	</form>
        <div class="clear10"></div> 
        <form method="post" action="save.jspx" id="jvForm">
        <table width="100%" cellpadding="5" cellspacing="1" border="0" bgcolor="#dfe2eb">
        <tr>
          <td width="120" height="40" align="right" bgcolor="#f3f3f3"><span>*</span>名称：</td>
        <td bgcolor="#FFFFFF">
        &nbsp;<input type="text" maxlength="150" name="name" class="address_input required" size="40"/>
        </td>
        </tr>
        <tr>
        <td width="120" height="40" align="right" bgcolor="#f3f3f3"><span>*</span>排列顺序：</td>
        <td bgcolor="#FFFFFF">
        &nbsp;<input type="text" maxlength="10" value="10" name="priority" class="required address_input" size="7"/>
        </td>
        </tr>
        <tr>
        <td width="120" height="40" align="right" bgcolor="#f3f3f3"><span>*</span>拥有所有权限：</td>
        <td bgcolor="#FFFFFF">&nbsp;
        <label><input type="radio" value="true"  name="super"/>是</label>
        <label><input type="radio" value="false" checked="checked" name="super"/>否</label></td>
        </tr>
        <tr>
        <td width="120" align="right" bgcolor="#f3f3f3">功能权限：</td>
        <td bgcolor="#FFFFFF"> [#include "店铺角色权限页.html"/]</td>
        </tr>
        <tr><td height="50" bgcolor="#f3f3f3">&nbsp;
        
        </td>
        <td bgcolor="#FFFFFF">&nbsp;
        <input type="hidden" name="storeId" value="${store.id}"/>
        <input type="submit" value="提交" class="menu_ok"/> &nbsp; <input type="reset" value="重置" class="menu_ok"/>
        </td>
        </tr>
        </table>
      </form>
	</div>
    <div class="clear20"></div>
</div>
[#include "../include/页脚信息栏.html"/]
</body>
</html>